<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

  <ResourceDictionary.MergedDictionaries>
    <ResourceDictionary Source="DefaultColors.xaml" />
    <ResourceDictionary Source="MaterialDesign/MaterialDesignTheme.Theme.xaml" />
  </ResourceDictionary.MergedDictionaries>

  <!-- to keep ExoImplantEditor compilable at least one color definition has to come before the StaticResource definitions... weird... see http://exotrac:8080/exocad/ticket/11507#comment:57 -->
  <Color x:Key="Gray7">#FFfbfaff</Color> <!-- group box background color. slightly darker variant. -->
  <StaticResource x:Key="Gray10" ResourceKey="MaterialDesignColorPaper"/>

  <!-- Branding Colors: Feel free to edit colors below, to match your CI. Keep the keywords as they are! -->
  <StaticResource x:Key="BrandColor1" ResourceKey="Primary500" /> <!-- Should be dark color. E.g. exocad Purple -->
  <StaticResource x:Key="BrandColor1MouseOver" ResourceKey="Primary200" /> <!-- slightly lighter variant -->
  <StaticResource x:Key="ToolWindowTitleColor" ResourceKey="Primary400" /> <!-- tool window title. can be same as BrandColor1MouseOver -->

  <StaticResource x:Key="ExostyleProgressBarColor" ResourceKey="MidContrastPrimary" /> <!-- background color for progress bar, default #473A6D -->
  <SolidColorBrush x:Key="BizzySpinnerLeaderBrush" Color="{DynamicResource ExostyleProgressBarColor}" /> <!-- Loading... Indicator color, default #473A6D -->
  <SolidColorBrush x:Key="BizzySpinnerTailBrush" Color="{DynamicResource ExostyleProgressBarColor}" />

  <StaticResource x:Key="ButtonColor" ResourceKey="Primary500" /> <!-- Should be dark color. Can be same as BrandColor1 -->
  <StaticResource x:Key="ButtonColorMouseOver" ResourceKey="Primary200" /> <!-- slightly lighter variant -->

  <StaticResource x:Key="BrandColor2" ResourceKey="Accent500" /> <!-- Should be dark and 'highlighty'. E.g. exocad Orange -->
  <StaticResource x:Key="BrandColor2MouseOver" ResourceKey="Accent200" /> <!-- slightly lighter variant -->
  <StaticResource x:Key="BrandColor2Border" ResourceKey="Accent900" /> <!-- darker variant -->

  <SolidColorBrush x:Key="InputValidationErrorBorderBrush" Color="{DynamicResource ValidationErrorColor}"/>
  <SolidColorBrush x:Key="InputValidationErrorTextBrush" Color="{DynamicResource ValidationErrorColor}"/>

  <StaticResource x:Key="ToolbarBackgroundColor" ResourceKey="MaterialDesignColorDarkBackground"/> <!-- Tool bar on the right. Should be dark color, we strongly recommend to keep it black! -->
  <StaticResource x:Key="ToolbarForegroundColor" ResourceKey="MaterialDesignColorDarkForeground"/> <!-- Tool bar on the right. Should be light color, white recommended -->
  <StaticResource x:Key="ImportedImplantPlanningInformationBackground" ResourceKey="MaterialDesignColorDarkBackground"/> <!-- exoplan import info background color, will be displayed on toolbar, so should be same color -->
  <StaticResource x:Key="ErrorReportingExceptionOccuredWarningInCurrentRuntimeBackground" ResourceKey="MaterialDesignColorDarkBackground"/> <!-- error background color, will be displayed on toolbar, so should be same color -->
  <StaticResource x:Key="ErrorReportingExceptionOccuredWarningInLoadedSceneOnlyBackground" ResourceKey="MaterialDesignColorDarkBackground"/> <!-- error background color, will be displayed on toolbar, so should be same color -->

  <StaticResource x:Key="ToolWindowBackgroundColor" ResourceKey="MaterialDesignColorCardBackground" /> <!-- tool window background color. White or very light color -->
  <SolidColorBrush x:Key="ToolWindowForegroundBrush" Color="{DynamicResource MaterialDesignColorBody}"/>

  <StaticResource x:Key="BlackColor" ResourceKey="MaterialDesignColorBody"/> <!-- Legacy support! Only "MaterialDesignColorBody" should be used! -->
  <StaticResource x:Key="WhiteColor" ResourceKey="MaterialDesignColorPaper"/> <!-- Legacy support! Only "MaterialDesignColorPaper" should be used! -->

  <StaticResource x:Key="MessageBoxBackgroundColor" ResourceKey="MaterialDesignColorPaper" /> <!-- message box background color -->
  <SolidColorBrush x:Key="MessageBoxTextForegroundBrush" Color="{DynamicResource MaterialDesignColorBody}" /> <!-- message box foreground color -->

  <StaticResource x:Key="ExpertToolbarBackgroundColor" ResourceKey="Primary400" /> <!-- background color for expert mode toolbar. Can be dark or light, but must have good contrast to all three colors below -->
  <StaticResource x:Key="ExpertModeToolbarMenu" ResourceKey="Primary400Foreground" /> <!-- foreground color for expert mode toolbar. Should have good contrast to ExpertToolbarBackgroundColor -->
  <Color x:Key="ExpertModeToolbarAdvancedMenu">#cdcbd8</Color> <!-- foreground color for expert mode toolbar. Should have good contrast to ExpertToolbarBackgroundColor -->
  <StaticResource x:Key="ExpertModeToolbarMenuHighlight" ResourceKey="Accent500" /> <!-- foreground color for expert mode toolbar.  Should have good contrast to ExpertToolbarBackgroundColor -->

  <StaticResource x:Key="GroupSelectorDefaultColor" ResourceKey="Primary400" /> <!-- group selector: default item background color (if not determined by group or part color -->

  <SolidColorBrush x:Key="SecondarySceneViewTitleFontColor" Color="{DynamicResource Primary500Foreground}" />

  <SolidColorBrush x:Key="ToothColorBrush" Color="{DynamicResource MaterialDesignColorLightForeground}"/>

  <!-- DentalDB window colors  -->
  <Color x:Key="Background1">#FFF4F4F4</Color> <!-- DentalDB left panel and some dialogs -->
  <Color x:Key="Background2">#FFFFFFFF</Color> <!-- DentalDB center panel -->
  <Color x:Key="Background3">#FFF4F4F4</Color> <!-- DentalDB right panel -->

  <SolidColorBrush x:Key="QuickResponseToolBarBackground" Color="{DynamicResource Primary500}" />
  <SolidColorBrush x:Key="QuickResponseToolBarForeground" Color="{DynamicResource Primary500Foreground}" />
  <SolidColorBrush x:Key="QuickResponseToolBarErrorForeground" Color="{DynamicResource ValidationErrorColor}" />
  <SolidColorBrush x:Key="DentalshareIncomingMessage" Color="{DynamicResource MaterialDesignColorCardBackground}" />
  <SolidColorBrush x:Key="DentalshareOutcomingMessage" Color="{DynamicResource MaterialDesignColorCardBackground}" />
  <SolidColorBrush x:Key="DentalshareMessageBorder" Color="Transparent" />

  <SolidColorBrush x:Key="ToothWorkParamsReconstructionNameBrush" Color="{DynamicResource MaterialDesignColorDarkForeground}" />

  <!-- Alternating colors for zebra tables (e.g. 'Load' in DentalDB)  -->
  <Color x:Key="ZebraTable1">#FFFFFFFF</Color> <!-- should be white or very light color -->
  <Color x:Key="ZebraTable2">#FFE0E0E0</Color> <!-- still light, but slightly darker -->

  <SolidColorBrush x:Key="Print3DBackground1Brush" Color="{DynamicResource MaterialDesignColorCardBackground}"/>
  <SolidColorBrush x:Key="Print3DBackground2Brush" Color="{DynamicResource MaterialDesignColorPaper}"/>
  <SolidColorBrush x:Key="Print3DBackgroundBottom" Color="{DynamicResource MaterialDesignColorToolBarBackground}"/>
  <SolidColorBrush x:Key="Print3DZebraTableBrush1" Color="{DynamicResource MaterialDesignColorCardBackground}"/>
  <SolidColorBrush x:Key="Print3DZebraTableBrush2" Color="{DynamicResource MaterialDesignColorPaper}"/>
  <SolidColorBrush x:Key="EngineBuildPrint3DForeground" Color="{DynamicResource MaterialDesignColorBody}" Opacity="0.6"/>

  <!-- Colors for FalseColorBar  -->
  <StaticResource x:Key="FalseColorBarTextColor" ResourceKey="MaterialDesignColorDarkForeground" /> <!-- should be white or very light color -->
  <StaticResource x:Key="FalseColorBarBackgroundColor" ResourceKey="MaterialDesignColorDarkBackground" /> <!-- should be black or very dark color -->

  <!-- Border color for floating windows - READ COMMENT BELOW -->
  <StaticResource x:Key="FloatingWindowBorderColor" ResourceKey="Primary500"/>

  <!-- Border is disabled by default, so the above color definition will not have an effect unless you also
	     change the border thickness below - set the four values Top, Left, Right, Bottom to "1" or "2" to add a border -->

  <Thickness x:Key="FloatingWindowBorderThickness" Top="0" Left="0" Right="0" Bottom="0" />

  <SolidColorBrush x:Key="TreatmentDetailsActionButtonNormalBrush" Color="{DynamicResource MidContrastPrimary}"/>
  <SolidColorBrush x:Key="TreatmentDetailsActionButtonClickedBrush" Color="{DynamicResource MaterialDesignColorFlatButtonClick}"/>

  <SolidColorBrush x:Key="IndicatorNoDataBackgroundBrush" Color="{DynamicResource MaterialDesignColorLightForeground}" />

  <SolidColorBrush x:Key="ProductionBlankProcessorProductionUnitBackground" Color="{DynamicResource MaterialDesignColorPaper}"/>
  <StaticResource x:Key="NestingDarkOnLightMaterialColor" ResourceKey="MaterialDesignColorLightForeground"/>
  <StaticResource x:Key="NestingLightOnDarkMaterialColor" ResourceKey="MaterialDesignColorDarkForeground"/>

  <StaticResource x:Key="CircularProfileWpfForegroundColor" ResourceKey="MaterialDesignColorBody" />
  <!-- end of customer-editable area -->

</ResourceDictionary>
